﻿@model IEnumerable<EOS.DataModel.LeaveStep>
@{
    ViewBag.Title = "请假流程管理";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <p>
        @Html.ActionLink("创建新的步骤", "Create")
    </p>
    <table class="table table-striped">
        <thead>
            <tr>
                <th>
                    步骤名称
                </th>
                <th>
                    步骤顺序
                </th>
                <th></th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr>
                    <td>
                        @Html.DisplayFor(modelItem => item.StepName)
                    </td>
                    <td>
                        @Html.DisplayFor(modelItem => item.StepOrder)
                    </td>
                    <td>
                        @Html.ActionLink(" ", "Edit", new { id = item.ID }, new { @class = "icon-edit icon-large" })
                        @Html.ActionLink(" ", "Delete", new { id = item.ID }, new { @class = "icon-remove icon-large" })
                    </td>
                    <td>
                        @Html.ActionLink("详细设置", "LinkPage", new { id = item.ID }, new { @class = "icon-link icon-large" })
                    </td>
                </tr>
            }
        </tbody>
    </table>
</body>
</html>
